namespace Intyme.Common.DataModel {
    /// <summary>
    /// Class define data and structure for One Child Component
    /// </summary>  
    public class ChildComponent {
        public int ChildComponentID = -2;
        //---public Dictionary<int,ChildComponent> SubChildComponents = null;


        public ChildComponent() {
            ChildComponentID = -1;
            //---if (SubChildComponents == null)
            //---{
            //---    SubChildComponents = new Dictionary<int,ChildComponent>();
            //---}
        }

        //         public ChildComponent(int ChildID)
        //         {
        //             ChildComponentID = ChildID;
        //         }

        //         public ChildComponent(int ChildID, ChildComponent newChild)
        //         {
        //             ChildComponentID = ChildID;
        //             if (SubChildComponents == null && ) 
        //             {
        //                 SubChildComponents = new Dictionary<int,ChildComponent>();
        //             }
        // 
        //         }

        ~ChildComponent() {
            //---if (SubChildComponents != null)
            //---{
            //---    SubChildComponents.Clear();
            //---    SubChildComponents = null;
            //---}
        }
    }
}